package com.ruoyi.mqtt.annotation;

import org.springframework.core.annotation.AliasFor;
import org.springframework.stereotype.Component;

import java.lang.annotation.*;

/**
 * mqttService
 *
 * mqtt服务
 * @author 曾午
 * @date 2023/05/10
 */
@Documented
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Component
public @interface MqttService {

    @AliasFor(
        annotation = Component.class
    )
    String value() default "";
}

